<?php
	$tool_buttons = array
	(
		'list_button' => array
		(
			'image'=>'btnListLarge.gif', 
			'text'=>LANG_LIST, 
			'url'=>'/users'
		),
		'edit' => array
		(
			'image'=>'btnEditLarge.gif', 
			'text'=>LANG_EDIT, 
			'url'=>'/'.$this->name.'/edit/' . $this->data[$this->name][id]
		),
		'edit_roles_button' => array
		(
			'image'=>'btnViewLarge.gif', 
			'text'=>LANG_ROLES, 
			'url'=>'/users_roles/view/' . $this->data[$this->name][id]
		),
	);
	
	$this->helpers->htmlx->MenuText1(LANG_USERS.': '.LANG_VIEW, "view.gif");
	$this->helpers->toolbars->Toolbar($tool_buttons);
	echo "<table class='eva'>";
		$this->helpers->htmlx->inputTextRow(LANG_TITLE, 'login', $this->data[$this->name][login], 'disabled="disabled"');
		$this->helpers->htmlx->comboBoxRow(LANG_LANGUAGE, 'language_id', $this->data[languages], $this->data[$this->name][language_id], 'disabled="disabled"');
		$this->helpers->htmlx->inputTextRow(LANG_RESULTS_PER_PAGE, 'results_per_page', $this->data[$this->name][results_per_page], 'disabled="disabled"');
		$this->helpers->htmlx->inputTextRow(LANG_DEFAULT_PAGE, 'default_page', $this->data[$this->name][default_page], 'disabled="disabled"');
		$this->helpers->htmlx->inputTextRow(LANG_THEME, 'theme', $this->data[$this->name][theme], 'disabled="disabled"');
		echo $this->helpers->htmlx->label(LANG_SCREENSHOT, "class='label' valign = 'top'")."<td><img src = /./".THEMES.SEPARATOR.$this->data[$this->name][theme].SEPARATOR.'screenshot.gif'."></td>";
	echo "</table>";
?>